﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;
 
namespace Orchard.Entity
{
    public class Web_LogsMetaData
    {
        [ScaffoldColumn(false)]
        [DisplayName("日志ID")]
        public string LogID { get; set; }
        [Required(ErrorMessage = "请输入来源")]
        [DisplayName("来源")]
        public string FromURL { get; set; }
        [Required(ErrorMessage = "请输入执行SQL")]
        [DisplayName("执行SQL")]
        public string ExeSQL { get; set; }
        [Required(ErrorMessage = "请输入{0}")]
        [DisplayName("文件系统")]
        public int FromSystem { get; set; }
        [Required(ErrorMessage = "请输入{0}")]
        [DisplayName("WEB请求方式")]
        public string HttpMethod { get; set; }
        [Required]
        [DisplayName("详细信息")]
        public string Info { get; set; }
        [Required]
        [DisplayName("发生时间")]
        public System.DateTime OccurTime { get; set; }
    }

    [MetadataType(typeof(Web_LogsMetaData))]
    public partial class Web_Logs
    {
      
    }
}